package com.xique.park.constant.message;

/**
 * Created by IntelliJ IDEA.
 * 车辆信息数据dt相关常量
 * @author Administrator
 * description:
 * path: park2020-com.jzy.constant-CarDtConstants
 * date: 2020/8/1 10:10
 */
public class CarDtConstants {

    /**
     * 车辆信息相关
     */
    //下发至设备使用的车型大小数组
    //public static final String[] CAR_SIZE_ARR = {"small","big","super_big","motor","other"};
    public static final int[] CAR_SIZE_ARR = {1,2,3,4,5};

    //下发至设备使用的车辆管理类型大类数组
    //public static final String[] CAR_MNGTYPE_ARR = {"fixed_car","regist_car","visitor_car","member_car","temp_car","unkwon"};
    public static final int[] CAR_MNGTYPE_ARR = {1,2,3,4,5,6,7};

    /************************车辆*************************/
    //车辆记录id
    public static final String RECORD_ID = "record_id";
    public static final String PLATE = "plate";
    public static final String CAR_SIZE = "car_size";
    //开始日期
    public static final String S_DATE = "s_date";
    //结束日期
    public static final String E_DATE = "e_date";
    //暂停开始日期
    public static final String P_S_DATE = "p_s_date";
    //暂停结束日期
    public static final String P_E_DATE = "p_e_date";
    //是否多位多车
    public static final String IS_MULT = "is_mult";
    public static final int IS_MULT_Y = 1;
    public static final int IS_MULT_N = 0;
    //是否多车库的多位多车
    public static final String IS_GARAGE_SPACE = "is_garage_space";
    public static final int IS_GARAGE_SPACE_Y = 1;
    public static final int IS_GARAGE_SPACE_N = 0;

    public static final String GARAGES = "garages";
    public static final String GARAGE_ID = "garage_id";

    /**
     * 校验车辆信息
     */
    public static final String UPDATE = "update";
    public static final Integer UPDATE_NO = 0;
    public static final Integer UPDATE_YES = 1;
    public static final Integer UPDATE_DEL = 2;
    //请求的车牌
    public static final String REQ_PLATE = "req_plate";
    //车主的车位数
    public static final String SPACE_CNT = "space_cnt";
    //车主的车辆数
    public static final String PLATE_CNT = "plate_cnt";
    //车主剩余车位数
    public static final String REMAIN_CNT = "remain_cnt";
    /************************管理类型*************************/
    public static final String MNGTYPE = "mngtype";
    public static final String MNGTYPE_ID = "mngtype_id";
    public static final String MNGTYPE_NAME = "name";
    public static final String IS_FEE = "is_fee";
    public static final Integer IS_FEE_Y = 1;
    public static final Integer IS_FEE_N = 0;
    public static final String IS_FEE_OVERDUE = "is_fee_overdue";
    public static final Integer IS_FEE_OVERDUE_Y = 1;
    public static final Integer IS_FEE_OVERDUE_N = 0;
    public static final String OVERDUE_GRACE_DAYS = "overdue_grace_days";

    public static final String IS_FIXED_TEMP = "is_fixed_temp";
    public static final Integer IS_FIXED_TEMP_Y = 1;
    public static final Integer IS_FIXED_TEMP_N = 0;
    public static final String FIXED_DURATION = "fixed_duration";

    /************************通行权限*************************/
    public static final String LANE_ID = "lane_id";
    public static final String PASS_WAY = "pass_way";
    public static final String FULLSPACE = "fullspace";
    public static final String CLIENTOFF = "clientoff";
    public static final String OVERDUE = "overdue";
    public static final String ZEROOUT = "zeroout";
    public static final String DURATION = "duration";
    public static final String NOT_RECORD = "not_record";
    public static final String NOT_SENSE = "not_sense";
    public static final String MULT = "mult";
    public static final String PAUSE = "pause";
    /************************黑名单车辆*************************/
    public static final String BLACK_DATE = "date";
}
